package com.wang.loanassembly.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lichacha
 * @since 2022-01-04
 */
public class PlatformLending implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "pl_id", type = IdType.AUTO)
    private Integer plId;

    /**
     * 公司id
     */
    private Integer comId;

    /**
     * 放款公司名称
     */
    private String plComName;

    /**
     * 保证金金额
     */
    private Long plSecurityDeposit;

    /**
     * 保证金开始时间
     */
    private LocalDateTime plStartTime;

    /**
     * 保证金到期时间
     */
    private LocalDateTime plEndTime;

    /**
     * 扣除保证金
     */
    private Double plReduceAccount;

    /**
     * 剩余保证金
     */
    private Double plBalance;


    public Integer getPlId() {
        return plId;
    }

    public void setPlId(Integer plId) {
        this.plId = plId;
    }

    public Integer getComId() {
        return comId;
    }

    public void setComId(Integer comId) {
        this.comId = comId;
    }

    public String getPlComName() {
        return plComName;
    }

    public void setPlComName(String plComName) {
        this.plComName = plComName;
    }

    public Long getPlSecurityDeposit() {
        return plSecurityDeposit;
    }

    public void setPlSecurityDeposit(Long plSecurityDeposit) {
        this.plSecurityDeposit = plSecurityDeposit;
    }

    public LocalDateTime getPlStartTime() {
        return plStartTime;
    }

    public void setPlStartTime(LocalDateTime plStartTime) {
        this.plStartTime = plStartTime;
    }

    public LocalDateTime getPlEndTime() {
        return plEndTime;
    }

    public void setPlEndTime(LocalDateTime plEndTime) {
        this.plEndTime = plEndTime;
    }

    public Double getPlReduceAccount() {
        return plReduceAccount;
    }

    public void setPlReduceAccount(Double plReduceAccount) {
        this.plReduceAccount = plReduceAccount;
    }

    public Double getPlBalance() {
        return plBalance;
    }

    public void setPlBalance(Double plBalance) {
        this.plBalance = plBalance;
    }

    @Override
    public String toString() {
        return "PlatformLending{" +
        "plId=" + plId +
        ", comId=" + comId +
        ", plComName=" + plComName +
        ", plSecurityDeposit=" + plSecurityDeposit +
        ", plStartTime=" + plStartTime +
        ", plEndTime=" + plEndTime +
        ", plReduceAccount=" + plReduceAccount +
        ", plBalance=" + plBalance +
        "}";
    }
}
